#if UNITY_IOS
using System.Runtime.InteropServices;

namespace IQIGame.Onigao.GameAOT
{
    public class IOSInterface
    {
        #region ios interface

        [DllImport("__Internal")]
        public static extern void iqi_usdk_initUSDK();
        [DllImport("__Internal")]
        public static extern void iqi_usdk_login();
        [DllImport("__Internal")]
        public static extern void iqi_usdk_report_role_info(int type, string data);
        [DllImport("__Internal")]
        public static extern bool iqi_usdk_is_support_switch_account();
        [DllImport("__Internal")]
        public static extern void iqi_usdk_switch_account();
        [DllImport("__Internal")]
        public static extern void iqi_usdk_logout();
        [DllImport("__Internal")]
        public static extern void iqi_usdk_pay(string orderData, string roleData);
        [DllImport("__Internal")]
        public static extern void iqi_usdk_extraFunc(int type, string data);
        [DllImport("__Internal")]
        public static extern int iqi_usdk_getChannelId();
        [DllImport("__Internal")]
        public static extern string iqi_usdk_getChannelName();
        [DllImport("__Internal")]
        public static extern string iqi_usdk_getChannelAlias();
        [DllImport("__Internal")]
        public static extern string iqi_usdk_getChannelSDKVersion();
        [DllImport("__Internal")]
        public static extern string iqi_usdk_getUSDKVersion();
        [DllImport("__Internal")]
        public static extern string iqi_usdk_getIDFV();
        [DllImport("__Internal")]
        public static extern string iqi_usdk_getIDFA();
        #endregion
    }
}
#endif